﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;

namespace Ukladanka
{
    class Puzzle
    {
        private int _NumerKlocka;
        private Bitmap _Klocek;

        public Puzzle()
        {
            _NumerKlocka = -99;
            _Klocek = null;
        }

        public Puzzle(int nrk, Bitmap p)
        {
            this._NumerKlocka = nrk; 
            this._Klocek = p;
        }

        public Bitmap WyswietlKlocek()
        {
            return _Klocek;
        }

        public Bitmap GetPuzzle()
        {
            return this._Klocek;
        }

        public void SetPuzzle(Bitmap b)
        {
            this._Klocek = b;
        }

        public int GetNumerKlocka()
        {
            return this._NumerKlocka;
        }

        public void SetNumerKlocka(int nr)
        {
            this._NumerKlocka = nr;
        }
    }
}
